<?php

class Zend_View_Helper_Banderas
{
    public function Banderas($bandera,$margin=null)
    {
        $front = Zend_Controller_Front::getInstance();
		$baseUrl = $front->getBaseUrl();
		
		$margin = "' style='margin-bottom:" . $margin . ";'";
		$img = "<img src='" . $baseUrl . "/public/images/banderas/" . $bandera . ".png'". $margin . ">";
		return $img;
		
    }
}